document.write('hello'+'<br/>');
window.onload=confirm('loaded');
console.log(prompt('input:','None'));
window.onunload=alert('leave?');
console.log(window.innerHeight);
console.log(window.innerWidth);
var NewWindow=window.open('https://www.baidu.com',
						  '_blank',
						  'width=600,height=400,top=100,left=0');
NewWindow.stop();
window.scrollBy(-100,100);
window.scrollTo(0,0);
window.close(NewWindow);

console.log(
	window.defaultStatus,window.status,
	window.document,
	window.frames,window.length,
	window.history,window.location,
	window.opener,window.parent,window.top,
	window.self,window.name,
	window.localStorage,window.sessionStorage,
	window.navigator,
	window.screen
);

console.log(
	window.innerHeight,
	window.innerWidth,
	window.outerHeight,
	window.outerWidth,
	window.pageXOffset,
	window.pageYOffset,
	window.screenLeft,
	window.screenTop,
	window.screenX,
	window.screenY
);

let selection=window.getSelection();
let css=window.getComputedStyle(document.getElementById(('id')));
let query=window.matchMedia('screen');
